<?php

namespace App\Contracts\Repositories\Quiz;

interface SheetRepository
{
    public function findAllByActivity($activityId, array $columns = ['*']);

    public function batchCreate(array $sheets);

    public function countBy($activityId, $by);

    public function findAll(array $conditions, array $columns = ['*']);

    public function findWithPaginate($perPage, array $conditions, array $columns = ['*']);

    public function find($id, array $columns = ['*']);

    public function delete($id);

    public function deleteBy($column, $value);
}
